<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="MasterHeader.jsp" %>

<h1>Products</h1>

<hr/>

<form method="get" action="Products">
<div>
	<input type="hidden" name="filter" value="name" />
	Search By Name:
	<input type="text" name="name" />
	<input type="submit" value="Search" title="Search by Name" />
</div>
</form>

<hr/>

<form method="get" action="Products">
<div>
	<input type="hidden" name="filter" value="category" />
	Search By Category:
	<input type="text" name="name" />
	<input type="submit" value="Search" title="Search by Category" />
</div>
</form>

<hr/>

<form method="get" action="Products">
<div>
	<input type="hidden" name="filter" value="brand" />
	Search By Brand:
	<input type="text" name="name" />
	<input type="submit" value="Search" title="Search by Brand" />
</div>
</form>

<hr/>

<%= session.getAttribute("products") %>

<hr/>

<%@ include file="MasterFooter.jsp" %>